package org.myspring.dis;

public class TextEditor3 {

	private SpellChecker1 spellChecker;
	
	public SpellChecker1 getSpellChecker() {
		return spellChecker;
	}

	public void setSpellChecker(SpellChecker1 spellChecker) {
		System.out.println("inside TextEditor3 setSpellChecker.");
		this.spellChecker = spellChecker;
	}

	public TextEditor3() {
		System.out.println("inside TextEditor3 consturctor.");
	}
	
	public void spellCheck() {
		spellChecker.checkSpelling();
	}
}
